package com.plian.system.mapper.pf;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.plian.Tools.pagedata.PageData;
import com.plian.system.entity.pf.GrantSalary;
import com.plian.system.vo.pf.GrantSalaryVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Mapper 接口
 *
 * @author
 * @since 2019-09-27
 */
public interface GrantSalaryMapper extends BaseMapper<GrantSalary> {

    /**
     * 按统计类型合计
     * @param baseGrantSalaryIds
     * @return
     */
    List<GrantSalaryVO> summaryByBaseIds(@Param("baseGrantSalaryIds") List<Long> baseGrantSalaryIds, @Param("orgId") String orgId);

    List<PageData> grantSalaryByCreat(PageData pageData);

    List<PageData> grantSalaryByUpdate(PageData pageData);

}
